<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<%@ include file="/common/meta.jsp"%>
		<link type="text/css" href="<s:url value="/styles/cv_rc.css"/>" rel="stylesheet" />
        <script language="JavaScript"src="<s:url value="/js/My97DatePicker/WdatePicker.js"/>"></script>		
        <script type="text/javascript" src="<c:url value="/js/czrc.js"/>" ></script>
<style>
			  .fxtable{border: 1px solid #C1DAD7;width: 100%;margin-top:1px;}
			  .fxtable2{border: 1px solid #C1DAD7;width: 100%;margin-top:1px;}
			  .fxtable2 td.cls {border-right: 1px solid #C1DAD7;border-bottom: 1px solid #C1DAD7;background: #fff;font-size:12px;padding: 6px 6px 6px 12px;color: #4f6b72;}
		      .fxtable td {border-right: 1px solid #C1DAD7;border-bottom: 1px solid #C1DAD7;background: #fff;font-size:12px;padding: 6px 6px 6px 12px;color: #4f6b72;}
		        a.button{background:url(images/button.gif);	display:block;color:#555555;font-weight:bold;height:30px;line-height:29px;margin-bottom:14px;text-decoration:none;width:191px;}
				a:hover.button{color:#0066CC;}
		      .lens{ no-repeat 10px 8px;text-indent:30px;display:block;}
		      .fsg_nr{ position:absolute; display:none;top:25px; right:-3px; background:#fff; border:1px solid #98B1C8; }
</style>
	</head>

	<body>
	<s:form name="zsdwForm" action='dwsb!save.do' method="post" >
	
 <!--个人信息 start-->
 <div style="width:100%">
 
	<div class="title "onclick=""><h2><span class="red fn">*</span><s:property value="xtuser.cnname"></s:property></h2><div class="img_right" id="s1" ></div></div>
	
	<div class="tableContainer" id="tableContainer" style="height:90%">
    	<table class="fxtable"  cellpadding="0">
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">企业名称(盖章)</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">企业法人代码</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">注册资金(万元)</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">负责人</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">联系电话</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">注册时间</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">联系人</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">联系电话</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">传真</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			<tr>
				<td colspan=2 style="text-align:left;background:#5f9ea0;font:bold 12px 'lucida Grande',Verdana;"><font color="blue"><b>一、在孵企业基本概况(单位：个、万元)</b></font></td>
				<td colspan=2 style="text-align:left;background:#5f9ea0;font:bold 12px 'lucida Grande',Verdana;"><font color="blue"><b>三、在孵企业从业人员情况(单位：人)</b></font></td>
				<td colspan=2 style="text-align:left;background:#5f9ea0;font:bold 12px 'lucida Grande',Verdana;"><font color="blue"><b>五、在孵企业科技活动情况(单位：项、万元)</b></font></td>
			</tr>
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px"><span class="red fn">*</span>企业登记注册类型</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">在孵企业从业人员数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">承担各类国家和地方项目数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">行业类别</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：博士</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：国家级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">经认定高新技术企业</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">硕士</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">省级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">是否为上市企业</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：研究生学历及以上</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">市级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">研发机构数</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">本科学历</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">区级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">高新技术产品数</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">大专学历</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">各类国家和地方项目到帐经费</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">&nbsp</td>
				<td class="tdright">
					&nbsp
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：高级职称</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：国家级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td colspan=2 style="text-align:left;background:#5f9ea0;font:bold 12px 'lucida Grande',Verdana;"><font color="blue"><b>二、在孵企业经济效益（单位：个、万元、万美元）</b></font></td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：海归人才及外籍专家人员数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">省级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">在孵企业总收入</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：高级职称或博士学位人员数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">市级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">在孵企业工业总产值</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td colspan=2 style="text-align:left;background:#5f9ea0;font:bold 12px 'lucida Grande',Verdana;"><font color="blue"><b>四、在孵企业知识产权情况（单位：项）</b></font></td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">区级项目</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">在孵企业净利润</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">申请专利项数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">承担各类企业项目数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">在孵企业上缴税金</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：发明专利</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">各类企业项目到帐经费</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">在孵企业出口创汇</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">授权专利项数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">科技活动经费支出总额</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">在本市其他地区开票销售</td>
				<td class="tdright">
					<s:textfield name="dw.dwmc" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：发明专利</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：研究与试验发展支出</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
			<tr>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:130px">&nbsp</td>
				<td class="tdright">
					&nbsp
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">购买国外技术专利数</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
				<td style="text-align:right;background:#E7F2FC;font:bold 12px 'lucida Grande',Verdana;width:100px">其中：新产品开发经费支出</td>
				<td class="tdright">
					<s:textfield name="dw.frdm" cssStyle="width:150px"></s:textfield>
				</td>
			</tr>
			
		</table>
	</div>
	</div>
	<div  style="text-align:center">
		<input class="btn_submit1" type="button" value="保    存" onclick=""/>
	</div>
	

	
<div id='yjlbd' class="fsg_nr" style="display:none;width:360;height:210;">	
	<div loading='0' id='yjlbdd' style="width:360;height:190;background-color:#E7EAF7;overflow:auto;">
		<s:iterator value="xtdict13">
			<input type="checkbox" name="yjlb" id='yjlb<s:property value="dictbh"/>' value='<s:property value="dictbh"/>'/><span id='ch<s:property value="dictbh"/>'><s:property value="dictname"/></span><br>
		</s:iterator>
	</div>
	
	<div class="footer" style="background:#f5f5f5" style="width:360;height:20;text-align:right">
			<input class="button3" type="button" value="确  定" onclick="selTrue();"/>
		&nbsp&nbsp&nbsp&nbsp
	</div>
	<iframe src="javascript:false" style="position:absolute; visibility:inherit; top:0px; left:0px; width:100%; height:100%; z-index:-1; filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';"></iframe>
</div>	
	</s:form>
	</body>

	<script type="text/javascript">
		$('tableContainer').style.height = (getSize().h - 80)+"px"; 
		
		<s:iterator value="dwsxs">
			$('dwsx<s:property value="seldm"/>').checked = true;
		</s:iterator>
		
		
		<s:iterator value="cyfls">
			$('cyfl<s:property value="seldm"/>').checked = true;
		</s:iterator>
		
		
		<s:iterator value="jszys">
			$('jszy<s:property value="seldm"/>').checked = true;
			if('<s:property value="seldm"/>'=='999'){
				$('jszyothermc').value = '<s:property value="othermc"/>';
			}
		</s:iterator>
		
		
		<s:iterator value="yjlbs">
			$('yjlb<s:property value="seldm"/>').checked = true;
			$('yjlbmc').innerHTML += '<s:property value="selmc"/>&nbsp|&nbsp';
		</s:iterator>
		
		
		function ctrlDwdm(v){
			if(v=='007'){
				$('zsdw.dwdm').value='';
				if($('autodwdm').value == ''){
					var ajax = new AppAjax("zsdw!getAutoDwdm.do",function(data){
						$('zsdw.dwdm_8').value=data.autodwdm;
						$('autodwdm').value = data.autodwdm;
					}).submit();
				}else{
					$('zsdw.dwdm_8').value=$('autodwdm').value;
				}
				$('zsdw.dwdm_1').value='1';
			}else{
				$('zsdw.dwdm_8').value='';
				$('zsdw.dwdm_1').value='';
				$('zsdw.dwdm').value='';
			}
		}
		function doSave(type){
			
			if($('zsdw.dwlx').value.trim() ==''){
				alert('请选择单位类型！');
				return false;
			}
			
			if($('zsdw.dwdm_8').value.trim() == ''){
				alert('请填写组织机构代码的前<8>位!');
				return false;
			}
			if($('zsdw.dwdm_8').value.trim().length !=8 ){
				alert('前面组织机构代码必需<8>位!');
				return false;
			}
			if($('zsdw.dwdm_1').value.trim() == ''){
				alert('请填写组织机构代码的后<1>位!');
				return false;
			}
			if($('zsdw.dwdm_1').value.trim().length !=1 ){
				alert('后面组织机构代码必需<1>位!');
				return false;
			}
			$('zsdw.dwdm').value = $('zsdw.dwdm_8').value.trim()+'-'+$('zsdw.dwdm_1').value.trim();
			
			if($('zsdw.dwmc').value.trim() ==''){
				alert('单位名称不能为空！');
				return false;
			}
			
			
			var ajax = new AppAjax("zsdw!doSaveZsdw.do",function(data){save_Back(data,type)}).submitForm("zsdwForm");
		}
		
		function save_Back(data,type){
			if(data.message.code >0){
				$('dwid').value=data.message.text;
				parent.reload = 1;
				if(type == 2){//保存下一步
					parent.setDwid(data.message.text,2,true);
				}else if(type==3){//填写完成
					parent.setDwid('',1,true);
				}else if(type==4){
					parent.closeWindows();
				}else{
					alert('保存成功!');
					parent.setDwid(data.message.text,1,false);
				}
			}else{
				alert(data.message.text);
			}
		}
		
		function selTrue(){
			$('yjlbd').style.display = 'none';
			var ych = RC.checkbox('yjlb');
			$('yjlbmc').innerHTML = '';
			for(var y=0;y<ych.length;y++){
				$('yjlbmc').innerHTML += $('ch'+ych[y].v).innerHTML +'&nbsp|&nbsp';
			}
		}
		
		function selZzxm(){
			parent.openWin("zsdw!getZsxmWaitSelect.do?pname="+$('pname').value,"650","400");
		}
		
		function setZzxm(id,mc){
			$('qzzxm.xmid').value=id;
			$('zzxm_button').value = mc;
		}
		
		function hgchecked(v){
			if(v=='1'){
				$('zsdw.hgtdpc').readOnly = false;
				$('zsdw.hgtdpc').style.background="white";
			}else{
				$('zsdw.hgtdpc').readOnly = true;
				$('zsdw.hgtdpc').style.background="#efefef";
				$('zsdw.hgtdpc').value="";
			}
		}
	</script>
</html>

